#!/bin/bash


. remote_setup.sh

echo Stopping Tomcat on $SRV_TOMCAT1
ssh $SRV_TOMCAT1 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

echo Stopping Tomcat on $SRV_TOMCAT2
ssh $SRV_TOMCAT2 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

echo Stopping Tomcat on $SRV_TOMCAT3
ssh $SRV_TOMCAT3 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

echo Stopping Tomcat on $SRV_TOMCAT4
ssh $SRV_TOMCAT4 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

echo Stopping Tomcat on $SRV_TOMCAT5
ssh $SRV_TOMCAT5 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

#echo Stopping Tomcat on $SRV_TOMCAT6
#ssh $SRV_TOMCAT6 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

#echo Stopping Tomcat on $SRV_TOMCAT7
#ssh $SRV_TOMCAT7 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;stop_tomcat.sh" 

echo Stopping Transaction on $SRV_TRANS1
ssh $SRV_TRANS1 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_transaction.sh" 

echo Stopping Transaction on $SRV_TRANS2
ssh $SRV_TRANS2 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_transaction.sh" 

echo Stopping Transaction on $SRV_TRANS3
ssh $SRV_TRANS3 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_transaction.sh" 

echo Stopping Transaction on $SRV_TRANS4
ssh $SRV_TRANS4 ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_transaction.sh" 

echo Stopping Quote on $SRV_QUOTE
ssh $SRV_QUOTE ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_quote.sh" 


echo Stopping DB on $SRV_DB
ssh $SRV_DB ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_db.sh" 


echo Stopping Audit Log on $SRV_LOG
ssh $SRV_LOG ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_log.sh" 

echo Stopping Registry on $SRV_REG
ssh $SRV_REG ". ~/.bash_profile;echo Hello $ROOT462;cd $ROOT462;./stop_registry.sh" 








